set entry_folder=entry\build\default\outputs\default\entry-default-signed.hap

set hdc=hdc.exe

%hdc% shell "mount -o remount,rw /"

%hdc% shell "rm -rf /data/*"

%hdc% shell "mkdir /system/app/com.laval.dispatchcenter"

cd ..

%hdc% file send %entry_folder% /system/app/com.laval.dispatchcenter/DispatchCenter.hap

%hdc% shell "reboot"

Pause